package com.nbjtjc.safe.wps.dto;


public class FileHisDTO {

    private String id;
    private String name;
    private int version;
    private int size;
    private long create_time;
    private long modify_time;
    private String download_url;

    private UserDTO creator;
    private UserDTO modifier;

    public FileHisDTO() {
        super();
    }

    public FileHisDTO(String id, String name, int version, int size,
                      long create_time, long modify_time, String download_url,
                      UserDTO creator, UserDTO modifier) {
        this.id = id;
        this.name = name;
        this.version = version;
        this.size = size;
        this.create_time = create_time;
        this.modify_time = modify_time;
        this.download_url = download_url;
        this.creator = creator;
        this.modifier = modifier;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public long getModify_time() {
        return modify_time;
    }

    public void setModify_time(long modify_time) {
        this.modify_time = modify_time;
    }

    public String getDownload_url() {
        return download_url;
    }

    public void setDownload_url(String download_url) {
        this.download_url = download_url;
    }

    public UserDTO getCreator() {
        return creator;
    }

    public void setCreator(UserDTO creator) {
        this.creator = creator;
    }

    public UserDTO getModifier() {
        return modifier;
    }

    public void setModifier(UserDTO modifier) {
        this.modifier = modifier;
    }

    @Override
    public String toString() {
        return "FileHisDTO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", version=" + version +
                ", size=" + size +
                ", create_time=" + create_time +
                ", modify_time=" + modify_time +
                ", download_url='" + download_url + '\'' +
                ", creator=" + creator +
                ", modifier=" + modifier +
                '}';
    }
}
